package com.yuesystem.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;



/**
 * 公告类.
 */
@Data
public class Notice {
  //公告id
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  
  //标题
  private String title;
  
  //内容
  private String content;
  
  //创建者名字
  private String createdUser;
  
  //创建时间
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime createTime;
  
  
  //状态 1：发布，2：撤销
  private int status;
  
  private Long createdId;
  
  
}
